FROM ubuntu:22.10
ENV HOST 0.0.0.0
ENV MyPath /home/workspace
EXPOSE 8080
RUN mkdir $MyPath
WORKDIR $MyPath
# system local config
RUN true \
    # debian china mirrors
    && sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
    && sed -i 's/security.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list

RUN apt-get update 
RUN apt-get install  cmake gcc g++ net-tools -y
# 命令行工具
RUN apt-get install  zsh curl wget vim git -y

CMD [ "/bin/bash" ]

#win:  docker build -f .\Dockerfile -t platform:v1 .
#linux:  docker build -f Dockerfile -t platform:v1 .